<script setup lang="ts">
defineProps<{
  name: string
  age?: number
  male: boolean
}>()
</script>

<template>
  <div>我是子组件</div>
  <div>{{ name }}</div>
  <div>{{ age }}</div>
  <div>{{ male }}</div>
</template>

<style scoped>
div {
  width: 100px;
  background-color: aqua;
}
</style>
